package com.education.admin.api.controller.study;

import com.education.common.base.BaseController;
import com.education.common.utils.Result;
import com.education.service.study.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * 课程管理
 * @author 余一
 * @date 2021/9/9  14:52
 */
@RestController
public class CourseController extends BaseController {
    @Autowired
    private CourseService courseService;

    @GetMapping("/system/course")
    public Result getCourseList(@RequestParam Map params){
        return courseService.pagination(params);
    }

}
